-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SetAuthentication function to authenticate 'passively' #516
base: master
Are you sure you want to change the base?
Conversation
6092cc1
to
0ee47ec
Compare
0ee47ec
to
131a524
Compare
@luispresuelVenafi / @rvelaVenafi / @marcos-albornoz / @EduardoVV - Any chance you might be able to review this PR from @inteon? |
28de5ec
to
6824cf5
Compare
…ending a self-check request to the server) Signed-off-by: Tim Ramlot <[email protected]>
6824cf5
to
f32d0fd
Compare
@@ -45,7 +45,6 @@ type Connector struct { | |||
apiKey string | |||
accessToken string | |||
verbose bool | |||
Identity identity |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Identity
was not used anywhere.
@@ -91,7 +91,6 @@ type Connector struct { | |||
apiKey string | |||
accessToken string | |||
verbose bool | |||
user *userDetails |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
user
was not meaningfully used anywhere.
When using vcert as a library, being able to create a vcert client without sending a self-check request to the server can help reduce unnecessary API calls.
It gives the caller more control over when the self-checks occur.
Eg. when creating clients dynamically based on cached credentials.